dbus-async
A pure Rust written asynchronous DBus library.
Usage
Add this to your Cargo.toml
:
[]
= "1.0"
You have to specify, which Tokio Runtime should be used.
- For multi-threaded add this to your
Cargo.toml
:= "0.2" features = version
- For single-threaded add this to your
Cargo.toml
:= "0.2" features = version
Example
use DBus;
use Message;
async
If you want to implement a DBus service and do not implement the dbus_async::Handler
trait
manually then use dbus-async-derive
crate.